<?php
header("content-Type: text/html; charset=utf-8");
include_once("conn.php");
session_start();
$_GET["actnum"] = $_SESSION["actnum"];
if($_GET["actnum"] == $_SESSION["actnum"])
{
	$sql = "update tb_user_info set actnum='1' where name='".$_SESSION["current_user"]."'";
	$result = mysql_query($sql);
	if($result)
	{
		echo $_SESSION["current_user"],"&nbsp";
		echo "用户激活成功";
		echo '<a href="index.php">返回首页</a>';
	}
}


?>